2005-04-07 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtktreeview.c (gtk_tree_view_set_expander_column): Add
+ a hint about hiding expanders.
+
* gtk/updateiconcache.c (is_cache_up_to_date): Return
TRUE if the cache is newer than the directory. (#172852,
Jacob Kroon)
2005-04-07 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtktreeview.c (gtk_tree_view_set_expander_column): Add
+ a hint about hiding expanders.
+
* gtk/updateiconcache.c (is_cache_up_to_date): Return
TRUE if the cache is newer than the directory. (#172852,
Jacob Kroon)
2005-04-07 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtktreeview.c (gtk_tree_view_set_expander_column): Add
+ a hint about hiding expanders.
+
* gtk/updateiconcache.c (is_cache_up_to_date): Return
TRUE if the cache is newer than the directory. (#172852,
Jacob Kroon)
2005-04-07 Matthias Clasen <mclasen@redhat.com>
+ * gtk/question_index.sgml: Add a question about hiding
+ tree view expanders.
+
* gtk/tmpl/gtkradiobutton.sgml: Add a sentence about
toggling. (#159382, Worik Stanton)
</para></answer>
</qandaentry>
-</qandadiv>
+<qandaentry>
+<question><para>
+How do I hide the expander arrows in my tree view ?
+</para></question>
+<answer><para>
+Set the expander-column property of the tree view to a hidden column.
+See <link linkend="gtk-tree-view-set-expander-column">gtk_tree_view_set_expander_column()</link> and <link linkend="gtk-tree-view-column-set-visible">gtk_tree_view_column_set_visible()</link>.
+</para></answer>
+</qandaentry>
+</qandadiv>
</qandaset>
* @tree_view: A #GtkTreeView
* @column: %NULL, or the column to draw the expander arrow at.
*
- * Sets the column to draw the expander arrow at. It must be in @tree_view. If
- * @column is %NULL, then the expander arrow is always at the first visible
- * column.
+ * Sets the column to draw the expander arrow at. It must be in @tree_view.
+ * If @column is %NULL, then the expander arrow is always at the first
+ * visible column.
+ *
+ * If you do not want expander arrow to appear in your tree, set the
+ * expander column to a hidden column.
**/
void
gtk_tree_view_set_expander_column (GtkTreeView *tree_view,